package javabasic.seven;

import java.util.Scanner;
import java.util.logging.Logger;

/**
 * @author Jonny Long
 * @date 2021/2/23 20:21
 */
public class ExceptionTest {
    public static void main(String[] args) {
        //Scanner scanner = new Scanner(System.in);
        //int num = scanner.nextInt();
        //try {
        //    Demo demo = new Demo();
        //    demo.test(num);
        //    System.out.println("#^_^#");
        //}catch (ArrayIndexOutOfBoundsException e){
        //    System.out.println("发生异常，进行捕捉");
        //}finally {
        //    System.out.println("捕捉体finally");
        //}
        //System.out.println("O(∩_∩)O哈哈~");
        int x=190;
        Logger.getGlobal().info("x = "+x);
    }
}
